package com.garbuz.svnadmin.view
{
	import com.garbuz.svnadmin.AdminApplication;

	import mx.containers.Box;
	import mx.events.FlexEvent;
	import mx.styles.StyleManager;

	public class DetailsViewBase extends Box
	{
		[Bindable]
		public var title:String;

		public function DetailsViewBase()
		{
			super();
			this.addEventListener(FlexEvent.CREATION_COMPLETE, onCreationComplete);
			this.styleName = "detailsBox";
		}

		private function onCreationComplete(event:FlexEvent):void
		{
			onInitialize();
		}

		protected function onInitialize():void
		{
		}

		protected static function get app():AdminApplication
		{
			return AdminApplication.instance;
		}
	}
}